Choosing a thread architecture
نویسنده
چکیده
A software architect should consciously choose between architectural alternatives for a given problem. In multi-threaded software, the architectural choices for resource sharing problems can be expressed as two patterns, the resource-user thread and the resource thread. A resource-user thread acquires and releases exclusive access to shared resources. A resource thread has permanent exclusive access to a resource and performs all the operations on it. The article discusses the choice between the two patterns.
منابع مشابه
Dynamic Simultaneous Multithreaded Architecture
This paper presents the Dynamic Simultaneous Multithreaded Architecture (DSMT). DSMT efficiently executes multiple threads from a single program on a SMT processor core. To accomplish this, threads are generated dynamically from a predictable flow of control and then executed speculatively. Data obtained during the single context nonspeculative execution phase of DSMT is used as a hint to specu...
متن کاملFactors in Choosing Landscape Architecture as a Major in Iran: student\'s viewpoints
Examining the universities postgraduate landscape architecture table in Iran, indicates the increasing growth in the establishment of this major course in most universities nationwide, since almost 10 years from the beginning of the first academic course of this major in the Shahid Beheshti University (SBU). As a result, every year the number of graduated entering the market is increasing in...
متن کاملPerformance Balancing in
rights are reserved, whether the whole or part of the material is concerned, speciically the rights to translation, reprinting, re-use of illustrations, recitation, broadcasting, reproduction on microolms or in any other way, and storage in databanks or in any system now known to be invented. Permission for use must be obtained from the publisher in writing. Abstract. Fine{grained multithreadin...
متن کاملPerformance Balancing in Multithreaded Multiprocessor Systems
Fine–grained multithreading is an architectural approach for tolerating long, unpredictable communication latency and synchronization delays in multiprocessors systems. Instead of waiting for the result of a long–latency operation, the processor performs context switching, i.e., it suspends the current thread and switches to another ‘ready’ thread if such a thread is available. The performance ...
متن کاملJacORB: Implementation and Design of a Java-ORB
We describe a number of experiences we have made designing and implementing JacORB, an Object Request Broker (ORB), in Java. These are mainly consequences of choosing Java both as the implementation language for an ORB and as the target language for which this platform is designed. We focus on the degree of transparency possible in a Java language mapping for IDL, on multithreading in the ORB c...
متن کامل